package com.zhudi.develop_demo_as.adapter;


import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import com.zhudi.develop.adapter.CommonAdapter;
import com.zhudi.develop.adapter.ViewHolder;
import com.zhudi.develop_demo_as.R;

import java.util.List;

public class StoreAdapter<T> extends CommonAdapter<T>{

    public StoreAdapter(Context context, List<T> mDatas) {
        super(context, mDatas);
    }


    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        ViewHolder viewHolder = ViewHolder.get(mContext, convertView, parent, R.layout.listitem_order, position);
        //ZhudiDebugLog.d(mDatas.get(position).getNickname());
        return viewHolder.getConvertView();
    }

}
